package com.hb.trans.mvp.contract

import com.basiclib.inter.IModel
import com.basiclib.inter.IMvpView
import com.hb.trans.bean.Base
import com.hb.trans.bean.ServeList
import io.reactivex.Observable

interface ServeContract {

    interface View : IMvpView {
        fun setupData(data: ServeList?)
    }


    interface Model : IModel {
        fun getServes(): Observable<Base<ServeList>>
    }
}